package com.study.ureport.beans;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.study.ureport.entity.User;

@Component("loadData")
public class LoadData {

	
	public List<User> getList(String dsName,String datasetName,Map<String,Object> parameters){
		List<User> list = new ArrayList<>();
		list.add(new User().setUserName("wuyu").setAge("25"));
		list.add(new User().setUserName("wuyu1").setAge("23"));
		list.add(new User().setUserName("wuyu2").setAge("24"));
		list.add(new User().setUserName("wuyu3").setAge("26"));
		return list;
	}
}
